package com.project.dto.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Date: 2021/9/6 15:39
 * @Description: 用户
 */
@Data
public class UserDTO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("真实姓名")
    private String realName;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("角色")
    private String role;

    @ApiModelProperty("级别(1：低年级；2：高年级)")
    private String grade;

    @ApiModelProperty("最后登录时间")
    private Date loginTime;

    @ApiModelProperty("注册时间")
    private Date registerTime;

    @ApiModelProperty("修改时间")
    private Date updateTime;
}
